package com.lyk.coursearrange.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("tb_sale")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Sale extends Model<Sale> {
    private static final long serialVersionUID=1L;

    /**
     * 销售id
     */
    @TableId(value = "sale_id", type = IdType.AUTO)
    private Integer saleId;

    /**
     * 销售名称
     */
    @TableField("sale_name")
    private String saleName;
}
